package com.Artificialintelligence.system.domain.bo;

import com.Artificialintelligence.common.core.validate.AddGroup;
import com.Artificialintelligence.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.Artificialintelligence.common.core.domain.BaseEntity;

/**
 * 第三方授权业务对象 sys_auth_user
 *
 * @author ruoyi
 * @date 2021-12-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("第三方授权业务对象")
public class SysAuthUserBo extends BaseEntity {

    /**
     * 授权ID
     */
    @ApiModelProperty(value = "授权ID", required = true)
    @NotNull(message = "授权ID不能为空", groups = { EditGroup.class })
    private Long authId;

    /**
     * 第三方平台用户唯一ID
     */
    @ApiModelProperty(value = "第三方平台用户唯一ID", required = true)
    @NotBlank(message = "第三方平台用户唯一ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String uuid;

    /**
     * 系统用户ID
     */
    @ApiModelProperty(value = "系统用户ID", required = true)
    @NotNull(message = "系统用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 登录账号
     */
    @ApiModelProperty(value = "登录账号", required = true)
    @NotBlank(message = "登录账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String loginName;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", required = true)
    @NotBlank(message = "用户昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userName;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "头像地址", required = true)
    @NotBlank(message = "头像地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 用户邮箱
     */
    @ApiModelProperty(value = "用户邮箱", required = true)
    @NotBlank(message = "用户邮箱不能为空", groups = { AddGroup.class, EditGroup.class })
    private String email;

    /**
     * 用户来源
     */
    @ApiModelProperty(value = "用户来源", required = true)
    @NotBlank(message = "用户来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String source;


    /**
     * 分页大小
     */
    @ApiModelProperty("分页大小")
    private Integer pageSize;

    /**
     * 当前页数
     */
    @ApiModelProperty("当前页数")
    private Integer pageNum;

    /**
     * 排序列
     */
    @ApiModelProperty("排序列")
    private String orderByColumn;

    /**
     * 排序的方向desc或者asc
     */
    @ApiModelProperty(value = "排序的方向", example = "asc,desc")
    private String isAsc;

    /**
     * 系统用户账号
     */
    @ApiModelProperty(value = "用户昵称")
    private String user;

    /**
     * 系统用户账号
     */
    @ApiModelProperty(value = "用户昵称")
    private String password;

    /**
     * 系统用户账号密码
     */
    @ApiModelProperty(value = "用户昵称")
    private String userPass;

}
